﻿using System.Configuration;

namespace PicStore.DAL
{
    public class DataContextManager
    {
        public static PicStoreDBDataContext GetNewDataContext()
        {
            return new PicStoreDBDataContext(ConfigurationManager.ConnectionStrings["PicStoreDBConnection"].ConnectionString);
        }
    }
}
